<template>
    <div class="app-container">
        <!--顶部Header区域-->
        <mt-header fixed title="信息通知"></mt-header>
        <!--中间的路由router-view区域-->
        <transition>
            <router-view></router-view>
        </transition>
        <!--底部tabbar区域-->
        <nav class="mui-bar mui-bar-tab">
            <router-link to="/home" class="mui-tab-item " >
                <span class="mui-icon mui-icon-home"></span>
                <span class="mui-tab-label">首页</span>
            </router-link>
            <router-link to="/message" class="mui-tab-item" >
                <span class="mui-icon mui-icon-email"><span class="mui-badge">9</span></span>
                <span class="mui-tab-label">消息</span>
            </router-link>
            <router-link to="/member" class="mui-tab-item" >
                <span class="mui-icon mui-icon-contact"></span>
                <span class="mui-tab-label">通讯录</span>
            </router-link>
            <router-link to="/search" class="mui-tab-item" >
                <span class="mui-icon mui-icon-gear"></span>
                <span class="mui-tab-label">设置</span>
            </router-link>
        </nav>
    </div>
</template>

<script>

</script>


<style scoped>
    .app-container{
        padding-top: 40px;
        padding-bottom: 50px;
    }
    .v-enter,
    .v-leave-to{
        opacity: 0;
        transform: translate(100%);
    }
    .v-enter-activ,
    .v-leave-active{
        transition: all 0.5s ease;
    }
</style>
